<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/5/9 0009
  Time: 15:47
  To change this template use File | Settings | File Templates.
--%>
<%@ include file="/WEB-INF/views/include/header.jsp"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>新优惠券信息</legend>
</fieldset>
<form class="layui-form" >
    <div class="layui-form-item">
        <label class="layui-form-label">优惠券名称</label>
        <div class="layui-input-block">
            <select name="type" lay-verify="required" >
                <option value="">请选择一个</option>
                <option value="0" selected="">全品类</option>
                <option value="1">运费类</option>
                <option value="2">限购类</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">优惠券价值</label>
        <div class="layui-input-block">
            <input id="value" type="text" name="value" required  lay-verify="required" placeholder="请输入价值" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">优惠券限额</label>
        <div class="layui-input-block">
            <input id="uplimit" type="text" name="uplimit" required  lay-verify="required" placeholder="请输入限额" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">详细描述</label>
        <div class="layui-input-block">
            <input type="text" name="description" required  lay-verify="required" placeholder="请输入描述" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="fromsubmit">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>




